package com.anolesoft.yr.store.stk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 库存信息表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "stk_store")
public class StkStore implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "OBJUID", type = IdType.AUTO)
    private String objuid;

    /**
     * 物品编码
     */
    @TableField(value = "part_no")
    private String partNo;

    /**
     * 父配件/备件
     */
    @TableField(value = "parent_uid")
    private String parentUid;

    /**
     * 入库方式
     */
    @TableField(value = "stk_outin_type_uid")
    private String stkOutinTypeUid;

    /**
     * 状态
     */
    @TableField(value = "`state`")
    private Byte state;

    /**
     * 库位表主键
     */
    @TableField(value = "stk_location_uid")
    private String stkLocationUid;

    /**
     * 库房表主键
     */
    @TableField(value = "stk_uid")
    private String stkUid;

    /**
     * 成色
     */
    @TableField(value = "`degree`")
    private Byte degree;

    /**
     * 入库价格
     */
    @TableField(value = "price")
    private Long price;

    /**
     * S/N编号
     */
    @TableField(value = "part_sn")
    private String partSn;

    /**
     * 类型
     */
    @TableField(value = "`type`")
    private String type;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 修改人
     */
    @TableField(value = "m_user_uid")
    private String mUserUid;

    /**
     * 修改时间
     */
    @TableField(value = "m_time")
    private Date mTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag")
    private Byte delFlag;

    /**
     * 配件型号表主键
     */
    @TableField(value = "part_model_uid")
    private String partModelUid;

    /**
     * 残缺标识
     */
    @TableField(value = "is_missing")
    private Byte isMissing;

    /**
     * 保修期
     */
    @TableField(value = "guarantee")
    private Date guarantee;

    private static final long serialVersionUID = 1L;
}